﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminExamSchool.aspx.cs" Inherits="Web.AdminExamSchool" %>
<%@ Register TagPrefix="uc1" TagName="TopMenu" Src="TopMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Floor" Src="Floor.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>学校考试成绩 | 海淀区学校素质评测管理平台</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="js/date_input/date_input.css" rel="stylesheet" type="text/css" />
    <link href="js/boxy/stylesheets/boxy.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <uc1:TopMenu id='menu1' runat='server'></uc1:TopMenu>
    <form id="form1" runat="server">
    <div id="main">
        <div id='block'>
        <div id='blocktitle'><h3>学校考试成绩</h3><em>[<a href="AdminExamRoom.aspx">考试管理</a> | <a href="AdminExamArea.aspx?examroomid=<%=examroomid %>">学区成绩</a>]</em></div>
        <div id="blockcontent">
        <asp:ListView ID="ExamSchoolList" runat="server">
        <LayoutTemplate>
        <table cellpadding="5" cellspacing="1" border="0" width="100%" style="background-color:#DFDFDF" id="userlist">
        <tr style="background-color:#eee">
        <th width="30%">学校名称</th>
        <th width="10%">人数</th>
        <th width="10%">学校平均分</th>
        <th width="35%">管理</th>
        </tr>
        <asp:Label ID="itemPlaceholder" runat="server" Text="Label"></asp:Label>
        </table>
        </LayoutTemplate>
        <ItemTemplate>
            <tr style="background-color:#fff">
            <td><%# Eval("Name") %></td>
            <td align="center"><%# GetStudentCount(DataBinder.Eval(Container.DataItem, "Id"))%></td>
            <td align="center"><%# GetAverage(DataBinder.Eval(Container.DataItem, "Id"))%></td>
            <td align="center"><a href="SchoolChartMain.aspx?examroomid=<%=examroomid %>&schoolid=<%# Eval("Id") %>" target="_blank">学校报告</a>
            |<a href="SchoolChartPrint2.aspx?examroomid=<%=examroomid %>&schoolid=<%# Eval("Id") %>" target="_blank">打印报告</a></td>
            </tr>
        </ItemTemplate>
        </asp:ListView>
        </div>
        </div>
    </div>
    </form>
    <uc1:Floor id='Floor1' runat='server'></uc1:Floor>
</body>
</html>
